package com.ruoyi.washer.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson2.JSONArray;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备管理对象 xw_device
 *
 * @author hawking
 * @date 2023-12-15
 */
public class XwDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备主键 */
    private Long deviceId;

    /** 设备类型;1、4G版 2、蓝牙版 */
    @Excel(name = "设备类型;1、4G版 2、蓝牙版")
    private String deviceType;

    /** 设备SN码 */
    @Excel(name = "设备SN码")
    private String deviceSn;

    /** 代理商小程序openid */
    @Excel(name = "代理商小程序openid")
    private String agentOpenId;

    /** 洗衣球购买原价 */
    @Excel(name = "洗衣球购买原价")
    private BigDecimal washballPrimePrice;

    /** 洗衣球购买优惠价 */
    @Excel(name = "洗衣球购买优惠价")
    private BigDecimal washballSpecialPrice;

    /** 终端openid */
    @Excel(name = "终端openid")
    private String enduserOpenId;

    /** 是否绑定代理商 */
    @Excel(name = "是否绑定代理商")
    private String bingFlag;

    /** 销售的格子 */
    @Excel(name = "销售的格子")
    private String salesGrid;

    /** 租用的格子 */
    @Excel(name = "租用的格子")
    private String rentGrid;

    /** 停止服务的格子 */
    @Excel(name = "停止服务的格子")
    private String stopGrid;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    /** 销售的格子 */
    private JSONArray salesGrid01;

    /** 租用的格子 */
    private JSONArray rentGrid01;

    /** 停止服务的格子 */
    private JSONArray stopGrid01;

    private String grid01StateType;
    private String grid01ProductId;

    private String grid02StateType;
    private String grid02ProductId;

    private String grid03StateType;
    private String grid03ProductId;

    private String grid04StateType;
    private String grid04ProductId;

    private String grid05StateType;
    private String grid05ProductId;

    private String grid06StateType;
    private String grid06ProductId;

    private String grid07StateType;
    private String grid07ProductId;

    private String grid08StateType;
    private String grid08ProductId;

    private String grid09StateType;
    private String grid09ProductId;

    private String grid10StateType;
    private String grid10ProductId;

    private String grid11StateType;
    private String grid11ProductId;

    private String grid12StateType;
    private String grid12ProductId;

    private String repairFlag;

    private Integer gridNumber;

    private Integer deviceCount;

    private String deviceAddress;

    private String downloadBatch;

    public String getDownloadBatch() {
        return downloadBatch;
    }

    public void setDownloadBatch(String downloadBatch) {
        this.downloadBatch = downloadBatch;
    }

    public String getDeviceAddress() {
        return deviceAddress;
    }

    public void setDeviceAddress(String deviceAddress) {
        this.deviceAddress = deviceAddress;
    }

    public Integer getDeviceCount() {
        return deviceCount;
    }

    public void setDeviceCount(Integer deviceCount) {
        this.deviceCount = deviceCount;
    }

    public Integer getGridNumber() {
        return gridNumber;
    }

    public void setGridNumber(Integer gridNumber) {
        this.gridNumber = gridNumber;
    }

    public String getRepairFlag() {
        return repairFlag;
    }

    public void setRepairFlag(String repairFlag) {
        this.repairFlag = repairFlag;
    }

    public String getGrid01StateType() {
        return grid01StateType;
    }

    public void setGrid01StateType(String grid01StateType) {
        this.grid01StateType = grid01StateType;
    }

    public String getGrid01ProductId() {
        return grid01ProductId;
    }

    public void setGrid01ProductId(String grid01ProductId) {
        this.grid01ProductId = grid01ProductId;
    }

    public String getGrid02StateType() {
        return grid02StateType;
    }

    public void setGrid02StateType(String grid02StateType) {
        this.grid02StateType = grid02StateType;
    }

    public String getGrid02ProductId() {
        return grid02ProductId;
    }

    public void setGrid02ProductId(String grid02ProductId) {
        this.grid02ProductId = grid02ProductId;
    }

    public String getGrid03StateType() {
        return grid03StateType;
    }

    public void setGrid03StateType(String grid03StateType) {
        this.grid03StateType = grid03StateType;
    }

    public String getGrid03ProductId() {
        return grid03ProductId;
    }

    public void setGrid03ProductId(String grid03ProductId) {
        this.grid03ProductId = grid03ProductId;
    }

    public String getGrid04StateType() {
        return grid04StateType;
    }

    public void setGrid04StateType(String grid04StateType) {
        this.grid04StateType = grid04StateType;
    }

    public String getGrid04ProductId() {
        return grid04ProductId;
    }

    public void setGrid04ProductId(String grid04ProductId) {
        this.grid04ProductId = grid04ProductId;
    }

    public String getGrid05StateType() {
        return grid05StateType;
    }

    public void setGrid05StateType(String grid05StateType) {
        this.grid05StateType = grid05StateType;
    }

    public String getGrid05ProductId() {
        return grid05ProductId;
    }

    public void setGrid05ProductId(String grid05ProductId) {
        this.grid05ProductId = grid05ProductId;
    }

    public String getGrid06StateType() {
        return grid06StateType;
    }

    public void setGrid06StateType(String grid06StateType) {
        this.grid06StateType = grid06StateType;
    }

    public String getGrid06ProductId() {
        return grid06ProductId;
    }

    public void setGrid06ProductId(String grid06ProductId) {
        this.grid06ProductId = grid06ProductId;
    }

    public String getGrid07StateType() {
        return grid07StateType;
    }

    public void setGrid07StateType(String grid07StateType) {
        this.grid07StateType = grid07StateType;
    }

    public String getGrid07ProductId() {
        return grid07ProductId;
    }

    public void setGrid07ProductId(String grid07ProductId) {
        this.grid07ProductId = grid07ProductId;
    }

    public String getGrid08StateType() {
        return grid08StateType;
    }

    public void setGrid08StateType(String grid08StateType) {
        this.grid08StateType = grid08StateType;
    }

    public String getGrid08ProductId() {
        return grid08ProductId;
    }

    public void setGrid08ProductId(String grid08ProductId) {
        this.grid08ProductId = grid08ProductId;
    }

    public String getGrid09StateType() {
        return grid09StateType;
    }

    public void setGrid09StateType(String grid09StateType) {
        this.grid09StateType = grid09StateType;
    }

    public String getGrid09ProductId() {
        return grid09ProductId;
    }

    public void setGrid09ProductId(String grid09ProductId) {
        this.grid09ProductId = grid09ProductId;
    }

    public String getGrid10StateType() {
        return grid10StateType;
    }

    public void setGrid10StateType(String grid10StateType) {
        this.grid10StateType = grid10StateType;
    }

    public String getGrid10ProductId() {
        return grid10ProductId;
    }

    public void setGrid10ProductId(String grid10ProductId) {
        this.grid10ProductId = grid10ProductId;
    }

    public String getGrid11StateType() {
        return grid11StateType;
    }

    public void setGrid11StateType(String grid11StateType) {
        this.grid11StateType = grid11StateType;
    }

    public String getGrid11ProductId() {
        return grid11ProductId;
    }

    public void setGrid11ProductId(String grid11ProductId) {
        this.grid11ProductId = grid11ProductId;
    }

    public String getGrid12StateType() {
        return grid12StateType;
    }

    public void setGrid12StateType(String grid12StateType) {
        this.grid12StateType = grid12StateType;
    }

    public String getGrid12ProductId() {
        return grid12ProductId;
    }

    public void setGrid12ProductId(String grid12ProductId) {
        this.grid12ProductId = grid12ProductId;
    }

    @JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm")
    private Date agentTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm")
    private Date enduserTime;



    public Date getAgentTime() {
        return agentTime;
    }

    public void setAgentTime(Date agentTime) {
        this.agentTime = agentTime;
    }

    public Date getEnduserTime() {
        return enduserTime;
    }

    public void setEnduserTime(Date enduserTime) {
        this.enduserTime = enduserTime;
    }

    public JSONArray getSalesGrid01() {
        return salesGrid01;
    }

    public void setSalesGrid01(JSONArray salesGrid01) {
        this.salesGrid01 = salesGrid01;
    }

    public JSONArray getRentGrid01() {
        return rentGrid01;
    }

    public void setRentGrid01(JSONArray rentGrid01) {
        this.rentGrid01 = rentGrid01;
    }

    public JSONArray getStopGrid01() {
        return stopGrid01;
    }

    public void setStopGrid01(JSONArray stopGrid01) {
        this.stopGrid01 = stopGrid01;
    }

    public void setDeviceId(Long deviceId)
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId()
    {
        return deviceId;
    }
    public void setDeviceType(String deviceType)
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType()
    {
        return deviceType;
    }
    public void setDeviceSn(String deviceSn)
    {
        this.deviceSn = deviceSn;
    }

    public String getDeviceSn()
    {
        return deviceSn;
    }
    public void setAgentOpenId(String agentOpenId)
    {
        this.agentOpenId = agentOpenId;
    }

    public String getAgentOpenId()
    {
        return agentOpenId;
    }
    public void setWashballPrimePrice(BigDecimal washballPrimePrice)
    {
        this.washballPrimePrice = washballPrimePrice;
    }

    public BigDecimal getWashballPrimePrice()
    {
        return washballPrimePrice;
    }
    public void setWashballSpecialPrice(BigDecimal washballSpecialPrice)
    {
        this.washballSpecialPrice = washballSpecialPrice;
    }

    public BigDecimal getWashballSpecialPrice()
    {
        return washballSpecialPrice;
    }
    public void setBingFlag(String bingFlag)
    {
        this.bingFlag = bingFlag;
    }

    public String getBingFlag()
    {
        return bingFlag;
    }
    public void setSalesGrid(String salesGrid)
    {
        this.salesGrid = salesGrid;
    }

    public String getSalesGrid()
    {
        return salesGrid;
    }
    public void setRentGrid(String rentGrid)
    {
        this.rentGrid = rentGrid;
    }

    public String getRentGrid()
    {
        return rentGrid;
    }
    public void setStopGrid(String stopGrid)
    {
        this.stopGrid = stopGrid;
    }

    public String getStopGrid()
    {
        return stopGrid;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    public String getEnduserOpenId() {
        return enduserOpenId;
    }

    public void setEnduserOpenId(String enduserOpenId) {
        this.enduserOpenId = enduserOpenId;
    }
}
